# -*- coding: UTF-8 -*-
# @description : python
# @Author : zyl
# @Time : 2021/9/29 11:22
# @Remark: IP地址管理

from mxsoftpy import Module

IpAM_module = Module('IpAM_module', url_prefix='/IpAM')

from .IpNetwork import *
from .IpSubnet import *
from .Ip import *

# IP网络
IpAM_module.add_resource(IpNetworkAdd, '/IpNetworkAdd.sy')
IpAM_module.add_resource(IpNetworkList, '/IpNetworkList.sy')
IpAM_module.add_resource(IpNetworkUpdate, '/IpNetworkUpdate.sy')
IpAM_module.add_resource(IpNetworkDelete, '/IpNetworkDelete.sy')
IpAM_module.add_resource(IpNetworkRetrieve, '/IpNetworkRetrieve.sy')
IpAM_module.add_resource(IpNetworkIgnore, '/IpNetworkIgnore.sy')
IpAM_module.add_resource(IpShow, '/IpShow.sy')
IpAM_module.add_resource(TsShow, '/TsShow.sy')
IpAM_module.add_resource(move, '/move.sy')
IpAM_module.add_resource(IgnoreTree, '/IgnoreTree.sy')

# 网络组
IpAM_module.add_resource(IpGroupSet, '/IpGroupSet.sy')
IpAM_module.add_resource(IpGroupDelete, '/IpGroupDelete.sy')
IpAM_module.add_resource(IpGroupIgnore, '/IpGroupIgnore.sy')

# IP子网
IpAM_module.add_resource(IpSubnetSet, '/IpSubnetSet.sy')
IpAM_module.add_resource(IpSubnetDelete, '/IpSubnetDelete.sy')
IpAM_module.add_resource(IpSubnetIgnore, '/IpSubnetIgnore.sy')
IpAM_module.add_resource(IpCount, '/IpCount.sy')
IpAM_module.add_resource(SubnetRecovery, '/SubnetRecovery.sy')
IpAM_module.add_resource(ScanningSet, '/ScanningSet.sy')
IpAM_module.add_resource(Scanning, '/Scanning.sy')
IpAM_module.add_resource(FindIp, '/FindIp.sy')

# IP
IpAM_module.add_resource(IPAdd, '/IpAdd.sy')
IpAM_module.add_resource(IPDelete, '/IpDelete.sy')
IpAM_module.add_resource(IPRetrieve, '/IpRetrieve.sy')
IpAM_module.add_resource(IPUpdate, '/IpUpdate.sy')
IpAM_module.add_resource(IPSelect, '/IpSelect.sy')
IpAM_module.add_resource(IPTrust, '/IpTrust.sy')
IpAM_module.add_resource(IPNoTrust, '/IpNoTrust.sy')
IpAM_module.add_resource(IPList, '/IpList.sy')
